#include<iostream>
using namespace std;
const int N = 1e5 + 10;
int stk[N];
int tt;
int n;
int main()
{
	cin >> n;
	for (int i = 0; i < n; i++) {
		int x;
		cin >> x;
		stk[++tt] = x;
	}
	while (tt) {
		cout << stk[tt] << " ";
		--tt;
	}
	return 0;
}